package com.lphl.pet.activity;

import com.lphl.pet.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;
/**
 * 恢复出厂设置
 * @author Lgq
 *
 */
public class FactoryResetActivity extends Activity implements OnClickListener {

	private ImageView iv_back;
	private ImageView iv_pet_icon;
	private TextView tv_baterry;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.activity_factory_reset);
		
		initView();
	}

	private void initView() {
		iv_back = (ImageView) findViewById(R.id.iv_back);
		iv_pet_icon = (ImageView) findViewById(R.id.iv_pet_icon);
		tv_baterry = (TextView) findViewById(R.id.tv_baterry);
		
		iv_back.setOnClickListener(this);
		
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.iv_back:
			this.finish();
			break;

		default:
			break;
		}
	}
}
